package com.study.designmodes.service.strategy.lmpl;

import com.study.designmodes.enums.BusinessCodeEnum;
import com.study.designmodes.service.strategy.ApiService;
import org.springframework.stereotype.Service;

/**
 * 策略二
 *
 * @author yyb8152
 * @since 20220402
 **/
@Service
public class TestApiServiceTwoImpl implements ApiService {
    @Override
    public BusinessCodeEnum supportedBusinessCodeEnum() {
        return BusinessCodeEnum.DECLARE_INSURANCE_STOP;
    }

    @Override
    public String invoke() {
        return "执行api接口策略:" + BusinessCodeEnum.DECLARE_INSURANCE_STOP.getDesc();
    }


}
